﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CLEX.AdminUI.Service;

namespace CLEX.AdminUI.ViewModel
{
    internal sealed class FriendshipReadVM : ViewModelBase
    {
        private readonly FriendshipData user;
        private readonly string user1Username;
        private readonly string user2Username;

        public int User1Id
        {
            get { return user.User1Id; }
        }

        public int User2Id
        {
            get { return user.User2Id; }
        }

        public string User1Username
        {
            get { return user1Username; }
        }

        public string User2Username
        {
            get { return user2Username; }
        } 

        public FriendshipReadVM(FriendshipData user, string user1Username, string user2Username)
        {
            this.user = user;
            this.user1Username = user1Username;
            this.user2Username = user2Username;
        }

        public FriendshipData GetData()
        {
            return user;
        }
    }
}
